<template>
    <div class="head">
      <div class="logo">
        <!--<img src="/static/images/logo.png">-->
        <img :src="getImg('logo.png')">
      </div>
    </div>
</template>
<script>
    export default {
        name: "Head",
        methods:{
          getImg(imgsrc){
            return require("../../../../static/images/"+imgsrc);
          }
        }
    }
</script>
<style lang="stylus">
 .head
   position relative
   .logo
      width 100px
      height 100px
      position absolute
      left 10px;
      top 10px;
      img
        width 80px
        height 80px

</style>
